﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GenerateReport.aspx.cs" Inherits="PresentationLayer.GenerateReport" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Generate By"></asp:Label>
        <br />
        <asp:RadioButton ID="rdoCategory" runat="server" Text="Category" Checked="true" GroupName="rdoGenerate" />
        <asp:RadioButton ID="rdoDepartment" runat="server" Text="Department" GroupName="rdoGenerate"/>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Filter By"></asp:Label>
        <br />
        <asp:RadioButton ID="rdoPrice" runat="server" Text="Price" Checked="true" GroupName="rdoFilter" />
        <asp:RadioButton ID="rdoQty" runat="server" Text="Quantity" GroupName="rdoFilter" />
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Text="Choose the number of month to generate the report :"></asp:Label>
&nbsp;<asp:DropDownList ID="ddlNumOfMonth" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlNumOfMonth_SelectedIndexChanged">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        <asp:Label ID="Label4" runat="server" Text="1st Month:"></asp:Label>
        <asp:DropDownList ID="ddlMonth1" runat="server" >
            
        </asp:DropDownList>

        <asp:Label ID="Label5" runat="server" Text="1st Year:" ></asp:Label>
        <asp:DropDownList ID="ddlYear1" runat="server">
        </asp:DropDownList>
        <br />

        <asp:Label ID="Label6" runat="server" Text="2nd Month:" ></asp:Label>
        <asp:DropDownList ID="ddlMonth2" runat="server" >
          
        </asp:DropDownList>

        <asp:Label ID="Label7" runat="server" Text="2nd Year:"></asp:Label>
        <asp:DropDownList ID="ddlYear2" runat="server" >
        </asp:DropDownList>
        <br />

        <asp:Label ID="Label8" runat="server" Text="3rd Month:" ></asp:Label>
        <asp:DropDownList ID="ddlMonth3" runat="server" >
          
        </asp:DropDownList>

        <asp:Label ID="Label9" runat="server" Text="3rd Year:" ></asp:Label>
        <asp:DropDownList ID="ddlYear3" runat="server" >
        </asp:DropDownList>
        <br />
        <br />
        <asp:Button ID="btnGenerate" runat="server" Text="Generate" OnClick="btnGenerate_Click" />
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
